{% extends "../base.html" %}
{% block title %}控制面板 - MAGICALBOY{% endblock %}
{% block head %}
     <link rel="stylesheet" href="/static/stylesheets/admin/style.css" type="text/css" media="screen" />
 {% endblock %}
{% block content %}
<!-- Dashboard Starts -->
<div id="dashboard">
<div style="float:left"> <a title="Are you lost?" href="/admin/">Blog控制面板</a><a href="/_ah/login?continue=http%3A//localhost%3A8080/admin/setup&action=Logout">[注销]</a>
</div>
<div style="float:right;margin-right:8px;font-size:11px">
<a href="#" id="more" >﻿简体中文<small>&#9660;</small></a></div>
<div class="clear"></div>

<div id="lang_menu">

<a href="/admin/lang?language=en_US">English</a>

<a href="/admin/lang?language=es_AR">Spanish</a>

<a href="/admin/lang?language=it_IT">Italian
</a>

<a href="/admin/lang?language=ja">﻿日本語</a>

<a href="/admin/lang?language=zh_CN">﻿简体中文</a>


</div>

</div>
<!-- Dashboard Ends -->

<!-- Header Starts -->
<div id="header">
    <div class="headings">
      <h1><a href="/" >MAGICALBOY</a></h1>
      <h2>This is magicalboy's blog.</h2>

      <div class="clear"></div>
    </div>
</div>
<!-- Header Ends -->

<!-- Nav Starts -->
<div id="nav">
<ul >
    <li class='page_item page-item-2 '><a href="/admin/post" title="Write post">写文章</a></li>
    <li class='page_item page-item-2 '><a href="/admin/entries/post" title="Posts">文章</a></li>
    <li class='page_item page-item-2 '><a href="/admin/entries/page" title="Pages">页面</a></li>

    <li class='page_item page-item-2 ' ><a href="/admin/links" title="Blogroll">链接</a></li>
     <li class='page_item page-item-2 ' ><a href="/admin/categories" title="categories">目录</a></li>
    <li class='page_item page-item-2 ' ><a href="/admin/comments" title="Comments">评论</a></li>
<li class='page_item page-item-2 ' ><a href="/admin/filemanager" title="Files">文件</a></li>


   <li class='page_item page-item-2'><a href="/admin/setup" title="setup">设置</a></li>
   <li class='page_item page-item-2 '><a href="/admin/plugins" title="plugins">插件</a></li>

    <li class='page_item page-item-2 '><a href="/admin/status" title="Cache">缓存</a></li>
    <li class='page_item page-item-2 '><a href="/admin/authors" title="authors">作者</a></li>
    
    
	

    <li class='page_item page-item-2 ' style="float:right;font-size:1em"><a href="http://micolog.appspot.com/zh_cn/main" id="dshelp" rel="facebox" title="help">帮助</a></li>


    <div class="clear"></div>

</ul>
</div>

<div id="nav2">
{% block nav2 %}
<div id="dnav2">
<ul>
<li><a href="/admin/setup"  class="current">基本配置</a></li>
<li><a href="/admin/import">导入/导出</a></li>
<li><a href="/admin/sitemap">网站地图</a></li>
<li><a href="/admin/tools">工具</a></li>
<li><a href="/admin/sys_plugin/notify"  >Notify</a></li>
</ul>

<div style="clear:both"></div>
</div>
{% endblock %}
</div>
    <div id="hiddenmessage" >{% block h_message%}{%endblock%}</div>
<!-- Nav Ends -->

<!-- Container Starts -->
<div id="container">

    <!-- Full Width Start-->
    {% block featured %}
    {% endblock %}
    <!-- Featured Ends -->

    
     <!-- Admin Full Width -->
 {% block container %}
    <div id="m_admin">
        <form method="post">
            <div class="wrap">
            <h2>博客设置/系统配置</h2>

            <table class="form-table">
                 <tr valign="top">
                <th scope="row">博客标题</th>

                <td><input type="text" size="45" value="title"  id="title" name="title"/>
                </td>
                </tr>

                <tr valign="top">
                <th scope="row">子标题</th>
                <td><input type="text" size="45" value="This is magicalboy's blog." style="width: 95%;" id="subtitle" name="subtitle" />
                <br/>
                关于这个博客的简单介绍</td>

                </tr>

                <tr valign="top">
                <th scope="row">公告</th>
                <td><textarea id="blognotice" style="width:95%" cols="45" rows="5" name="blognotice"></textarea>
               </td>
                </tr>

 <tr valign="top">

                <th scope="row">默认结构化链接 </th>

                <td><input type="text" size="45" style="width: 95%;" value="?p=%(post_id)s"  id="default_link_format" name="default_link_format" />
                 <br>允许使用的变量:%(year)s , %(month)s , %(day)s , %(post_id)s
               </td>
                </tr>
 <tr valign="top">
                <th scope="row">结构化链接(Permalink) </th>

                <td><input type="text" size="45" style="width: 95%;" value="%(year)s/%(month)s/%(day)s/%(postname)s.html"  id="link_format" name="link_format" />
                 <br>允许使用的变量:%(year)s , %(month)s , %(day)s , %(postname)s , %(post_id)s
               </td>
                </tr>
                  <tr valign="top">
                <th scope="row">域名:</th>
                <td><input type="text" size="45" value="localhost:8080"  id="domain" name="domain" />
               </td>
                </tr>

                </tr>
                  <tr valign="top">
                <th scope="row">博客网址(URL):</th>
                <td><input type="text" size="45" value="http://localhost:8080"  id="baseurl" name="baseurl" />
               </td>
                </tr>

                 <tr valign="top">
                <th scope="row">RSS/Atom Feed地址:</th>

                <td><input type="text" size="45" value="http://localhost:8080/feed"  id="feedurl" name="feedurl" />
               </td>
                </tr>
                 <tr valign="top">
                <th scope="row">时间差调整(单位:小时):</th>
                <td><input type="text" size="45" value="8.0"  id="timedelta" name="timedelta" />
               </td>
                </tr>


            <tr valign="top">
                <th scope="row">应用主题:</th>
                <td>
                    <select  id="theme_name" name="theme_name" >
                    
                    <option value=".svn" >.svn</option>
                    
                    <option value="default" selected='selected'>default</option>

                    
                    <option value="default_jp" >default_jp</option>
                    

                    </select>
                       <a href="http://micolog.appspot.com/themes" target="_blank">获取更多主题</a>
               </td>
               </tr>
                  <tr valign="top">
                <th scope="row">每页文章数:</th>

                <td><input type="text" size="8" value="10"  id="posts_per_page" name="posts_per_page" />
               </td>
               </tr>
               <tr valign="top">
                <th scope="row">评论顺序</th>
                <td>
                   <input type="radio"   id="comments_order0" name="comments_order"  checked="checked"  value="0"/><label for="comments_order0">升序</label>
                   <input type="radio"   id="comments_order1" name="comments_order"  value="1"/><label for="comments_order1">降序</label>

               </td>
               </tr>
 				<tr valign="top">
                <th scope="row">评论验证类型:</th>
                <td>
					<input type="radio"   id="comments_ctype0" name="comment_check_type"  value="0"/><label for="comments_ctype0">None</label>
				   <input type="radio"   id="comments_ctype1" name="comment_check_type"  checked="checked"  value="1"/><label for="comments_ctype1">算术</label>

                   <input type="radio"   id="comments_ctype2" name="comment_check_type"  value="2"/><label for="comments_ctype2">图形</label>
                   <input type="radio"   id="comments_ctype3" name="comment_check_type"  value="3"/><label for="comments_ctype2">客户端算术题（兼容0.6以下版本)</label>
               </td>
               </tr>
   <tr valign="top">
                <th scope="row">每页评论数:</th>
                <td><input type="text" size="8" value="20"  id="comments_per_page" name="comments_per_page" />

               </td>
               </tr>

 <tr valign="top">
                <th scope="row">头像风格</th>
                <td>
                   <input type="radio"   id="avatar_style0" name="avatar_style"  checked="checked"  value="0"/><label for="avatar_style0">默认</label>
                   <input type="radio"   id="avatar_style1" name="avatar_style"  value="1"/><label for="avatar_style1">随机头像</label>

               </td>
               </tr>

                   <tr valign="top" style="display:none">
                <th scope="row">允许将评论发送到你的邮箱:</th>
                <td><input type="checkbox" size="45"  checked="checked"   id="enable_memcache" name="comment_notify_mail" />
               </td>
                </tr>
    <tr valign="top">

                <th scope="row">启用缓存:</th>
                <td><input type="checkbox" size="45"   id="enable_memcache" name="enable_memcache" />
               </td>
                </tr>
  <tr valign="top">
                <th scope="row">允许 Trackback</th>
                <td><input type="checkbox" size="45"   id="allow_trackback" name="allow_trackback" />
               </td>

                </tr>

  <tr valign="top">
                <th scope="row">允许 Pingback</th>
                <td><input type="checkbox" size="45"   id="allow_pingback" name="allow_pingback" />
               </td>
                </tr>
            </table>
            <h3>客户端（Xmlrpc）调用设置：</h3>

            <p>为了您可以通过客户端工具（如Windows live writer）进行写作，请在这里设置用户名和密码</p>
            <table class="form-table">
               <tr valign="top">
                <th scope="row">用户名:</th>
                <td><input type="text" size="45" value="admin"  id="rpcuser" name="rpcuser" />
               </td>
                </tr>

                <tr valign="top">
                <th scope="row">密码:</th>
                <td><input type="password" size="45" value=""  id="rpcpassowrd" name="rpcpassword" />
               </td>
                </tr>
            </table>


<p class="submit"><input type="submit" value="保 存" name="Submit"/>
<input type="hidden" value="update" name="action"/>

<input type="hidden" value="title,subtitle,baseurl,feedurl,rpcuser,rpcpassword,theme_name,domain,default_link_format,blognotice,link_format" name="str_options"/>
<input type="hidden" value="enable_memcache,comment_notify_mail,allow_trackback,allow_pingback" name="bool_options"/>
<input type="hidden" value="posts_per_page,comments_order,comments_per_page,comment_check_type,avatar_style" name="int_options"/>
<input type="hidden" value="timedelta" name="float_options"/>

</p>

  </div>

        </form>
    </div>
    <!-- Featured Ends -->




<div class="clear"></div>
</div>
<!-- Container Ends -->
{% endblock %}
<!-- Footer Starts -->
<div id="footer">

    <div class="fontmlog">
        <div id="credits">
            <!-- Credit link can be removed by giving a $5 donation, it'll help us all build good karma! -->

            <div class="flogo" style='background : url() no-repeat;'>
                <a href="http://micolog.xuming.net"> MAGICALBOY 0.0.1</a> for <br><a href="http://code.google.com/appengine/" >Google App Engine V1.5.0</a>
            </div>
            <span>Theme from: <a href="http://www.freshpressthemes.com" title="See more fresh themes" target="_blank">FreshPress Themes</a> {% now "Y" %}</span>

            <!-- Do Not Remove -->

        </div>
         <div class="clear"></div>

    </div>

</div>
<!-- Footer Ends -->
{% endblock %}